package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Department;
import cn.wolfcode.rbac.query.EmployeeQueryObject;
import cn.wolfcode.rbac.query.QueryObject;
import cn.wolfcode.rbac.util.PageResult;

import java.util.List;

public interface IDepartmentService {

    void save(Department entity);

    void update(Department entity);

    void delete(Long id);

    Department get(Long id);

    List<Department> list();


    /**
     * 高级查询
     * @param qo
     * @return
     */
    PageResult query(QueryObject qo);
}
